<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib  uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>分支机构</title>
<link href="../style/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet"  href="../style/style.css" />
<script type="text/javascript" src="../Scripts/validator.js"></script>
</head>
<body>
<s:form action="modifySubcompanyAction" method="post" theme="simple" onsubmit="return Validator.Validate(this,1);">
<table width="620" border="0" cellspacing="0" cellpadding="0" class="table">
  <tr>
    <td><div class="mainarea">
      <div class="search">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table4">
          <tr>
            <td width="28%" colspan="2" bgcolor="#BBD2F7" class="title">保险公司分支机构</td>
          </tr>
          <tr>
            <td colspan="2"><table width="100%" border="0" cellspacing="2" cellpadding="0">
              <tr>
                <td width="21%" align="right" >所属保险公司：</td>
                <td align="left" >
                  <s:select name="companyNum" list="companyList" listKey="companyNum" listValue="companynameC" headerKey="" headerValue="--全部--" dataType="Require" msg="请选择公司名称">
                  </s:select></td>
              </tr>
              <tr>
                <td align="right" >分支结构简称：</td>
                <td align="left" ><s:textfield name="subcompany.sshortName" cssStyle="width:123px"  dataType="Require" msg="请选择分支结构简称"/>
                  编号：
                    <s:textfield name="subcompany.subcommpanyId" cssStyle="width:123px"  dataType="Require" msg="请输入分支机构编号"/></td>
              </tr>
              <tr>
                <td align="right" >分支结构全称：</td>
                <td ><s:textfield name="subcompany.sfullName" cssStyle="width:300px"  dataType="Require" msg="请输入分支机构全称"/></td>
              </tr>
              <tr>
                <td align="right" >详细地址：</td>
                <td align="left" ><s:textfield name="subcompany.saddress" cssStyle="width:300px" dataType="Require" msg="请输入详细地址"/></td>
              </tr>
              <tr>
                <td align="right" >负责人：</td>
                <td align="left" ><s:textfield name="subcompany.schief" dataType="Require" msg="请输入负责人"/>
                  邮编：
                  <s:textfield name="subcompany.spostcode" dataType="Zip" msg="请输入邮政编码"/></td>
              </tr>
              <tr>
                <td align="right" >联系电话：</td>
                <td align="left" ><s:textfield name="subcompany.stelephone" dataType="Require" msg="请输入联系电话"/>
                  传真：
                  <s:textfield name="subcompany.sfax" dataType="Require" msg="请输入传真"/></td>
              </tr>
              <tr>
                <td align="right" >电子邮箱：</td>
                <td align="left" ><s:textfield name="subcompany.semail" cssStyle="width:300px"  dataType="Email" msg="请输入邮箱"/></td>
              </tr>
              <tr>
                <td align="right" >手续费率：</td>
                <td align="left" ><s:textfield name="subcompany.spound" dataType="Double" msg="请输入手续费率"/>
                  佣金比例：
                  <s:textfield name="subcompany.scommrate" dataType="Double" msg="请输入佣金比例"/></td>
              </tr>
              <tr>
                <td align="right" >备注：</td>
                <td align="left" ><s:textarea name="subcompany.smemo" cols="45" rows="5" cssClass="fjxx" cssStyle="height:30px"></s:textarea></td>
              </tr>
              <tr>
                <td colspan="2" align="center" ><s:submit value="保   存"  cssClass="btn"/>
                  &nbsp;&nbsp;&nbsp;&nbsp;
                  <s:reset value="取   消"  cssClass="btn"/></td>
              </tr>
            </table></td>
          </tr>
        </table>
      </div>
    </div></td>
  </tr>
</table>
</s:form>
</body>
</html>
